<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<body>
		<div class="top-nav" th:fragment="page-top-bar" >
			<ul>
			<li th:each="goodsInfo,status:${commodityType}" th:class="${goodsForm.commodityTypeId}==${goodsInfo.commodityTypeId}?'active':''">
			<a th:href="@{initGoods(commodityTypeId=${goodsInfo.commodityTypeId})}"><span th:text="${goodsInfo.commodityTypeName}"></span></a></li>
			</ul>
			<div class="clear"></div>
		</div>
	</body>		
</html>